package com.codepoem.designpattern.abstractfactory

import com.codepoem.designpattern.abstractfactory.bmw.BmwCar

/**
 * 抽象工厂测试方法
 */
fun main(args: Array<String>) {
    var driver: Driver = SportDriver()
    var car: BmwCar = driver.createBmwCar()
    car.drive()
}